﻿//////////////////////////////////////////// wellcome tree of life /////////////////////////////////////////////	These files are offered by The Wellcome Trust under the Creative Commons Licence: http://creativecommons.org/licenses/by-nc-nd/3.0///	Author: York Gibson - york@yorkgibson.co.uk, york@shadowindustries.co.uk//	Version: 0.9//	Date: 02/02/2009//////////////////////////////////////////////////////////////////////////////////////////////////////////////package org.wellcometreeoflife.utils {		import flash.display.Bitmap		public class BitmapCopy {				public function BitmapCopy() { }				public static function copy(target:Object):Bitmap{			if(target.iconBitmap != null){				var newBitmap:Bitmap = new Bitmap(target.iconBitmap.bitmapData.clone())				newBitmap.y = -(newBitmap.height/1.7)				newBitmap.x = 10				return newBitmap			}			return null		}	}	}